package com.itheima.edu.info.manager.controller;

import com.itheima.edu.info.manager.domain.Teacher;
import com.itheima.edu.info.manager.service.TeacherService;

import java.util.Scanner;

public class OtherTeacherController extends BaseTeacherController{


    private Scanner sc = new Scanner(System.in);

    private TeacherService teacherService = new TeacherService();
    
    //输入老师信息
    public Teacher inputInfo(String id){
        System.out.println("请输入老师姓名:");
        String name = sc.next();
        System.out.println("请输入老师年龄:");
        String age = sc.next();
        System.out.println("请输入老师生日:");
        String birthday = sc.next();
        Teacher newTea = new Teacher(id,name,age,birthday);
        return newTea;
    }
}
